package counters;
import java.util.concurrent.atomic.AtomicLong;


public class AtomicCounter implements Counter {
	private AtomicLong counter = new AtomicLong(0);;
	
	public void reset() {
		counter.set(0);
	}
	
	public long getCounter() {
		return counter.get();
	}
	
	public void increment() {
		counter.incrementAndGet();
	}
}
